#ifndef COCOWINDOW_H
#define COCOWINDOW_H

#include "QtGui"
class CocoWindow :public QWidget
{
    Q_OBJECT
public:
	CocoWindow(){}
    CocoWindow(QWidget *parent);
    
public:
    void mouseMoveEvent(QMouseEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    
    virtual void paintEvent(QPaintEvent *);
    
    QPoint m_pos;
    QPoint m_pressPoint;
    bool m_canDrag;

    
};

#endif // COCOWINDOW_H
